export type Rule = {
  id: number;
  pid: number;
  title: string;
  key: string;
  icon: string;
  href: string;
  type: number;
  weight: number;
  created_at: string;
  updated_at: string;
  children?: Rule[];
};
